<template>
	<view class="pb50">
		<uni-card spacing="0" margin="0" :is-shadow="false" :border="false">
			<cforms ref="formsRef" :formData="formData"/>
		</uni-card>
	</view>
	<view class="sticky-b0 p10">
		<button @click="submit" type="default" class="basicbutton m10" hover-class="basicbutton-hover">保存并上传活动附件</button>
	</view>
</template>

<script lang="ts" setup>
	import cforms from "./components/c-forms.vue";
	import { ref } from 'vue'
	const formData = ref({
		activityName: '',
		activityType: '',
		activityTime: '',
		activityRole: '',
		activityAchievement: '',
		activityComment: '',
		activityDescribe: '',
	})
	let formsRef = ref(null)
	
	function submit() {
		formsRef.value.formCheck()
	}
</script>

<style lang="scss" scoped>

</style>